<include file="common/ueditor"/>
<div class="col-xs-12">
	<div class="row">
		<form class="form-horizontal" role="form" id="form" action="{:U('Article/edit')}">
			<div class="form-group">
				<input type="hidden" name="id" value="{$data.id}">
				<include file="template:input" name="title" label="标题" value="{$data.title}"  attr='data-rule="required;length(~80)" maxlength="80"'/>
				<!--<include file="template:selectEdit" results="data" name="type" list="articleType" label="文章类型" attr='data-rule="required;"'/>-->
				<include file="template:ueditor" results="data" name="content" label="详情页" attr='data-rule="required;length(~20000)" maxlength="20000"'/>
			</div>
			<div class="form-group" style="margin-top: 20px;">
				<include file="template:button" label="保存"/>
			</div>
		</form>
	</div>
</div>